home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / TSTURM.z / TSTURM
Text File  |  1998-10-30  |  7KB  |  133 lines

  1.  
  2.  
  3.  
  4. ____TTTTSSSSTTTTUUUURRRRMMMM((((3333FFFF))))                                                        ____TTTTSSSSTTTTUUUURRRRMMMM((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      TSTURM, STSTURM  -  EISPACK routine.  This subroutine finds those
  10.      eigenvalues of a TRIDIAGONAL SYMMETRIC matrix which lie in a specified
  11.      interval and their associated eigenvectors, using bisection and inverse
  12.      iteration.
  13.  
  14.  
  15. SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
  16.           ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee  ttttssssttttuuuurrrrmmmm((((nnnnmmmm,,,,nnnn,,,,eeeeppppssss1111,,,,dddd,,,,eeee,,,,eeee2222,,,,llllbbbb,,,,uuuubbbb,,,,mmmmmmmm,,,,mmmm,,,,wwww,,,,zzzz,,,,iiiieeeerrrrrrrr,,,,rrrrvvvv1111,,,,rrrrvvvv2222,,,,
  17.           1             rv3,rv4,rv5,rv6)
  18.           iiiinnnntttteeeeggggeeeerrrr          nnnnmmmm,,,, nnnn,,,, mmmmmmmm,,,, mmmm,,,, iiiieeeerrrrrrrr
  19.           ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn eeeeppppssss1111,,,, llllbbbb,,,, uuuubbbb
  20.           ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn dddd((((nnnn)))),,,, eeee((((nnnn)))),,,, eeee2222((((nnnn)))),,,, wwww((((mmmmmmmm)))),,,, zzzz((((nnnnmmmm,,,, mmmmmmmm))))
  21.           ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn rrrrvvvv1111((((nnnn)))),,,, rrrrvvvv2222((((nnnn)))),,,, rrrrvvvv3333((((nnnn)))),,,, rrrrvvvv4444((((nnnn)))),,,, rrrrvvvv5555((((nnnn)))),,,, rrrrvvvv6666((((nnnn))))
  22.  
  23.           ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssttttssssttttuuuurrrrmmmm((((nnnnmmmm,,,,nnnn,,,,eeeeppppssss1111,,,,dddd,,,,eeee,,,,eeee2222,,,,llllbbbb,,,,uuuubbbb,,,,mmmmmmmm,,,,mmmm,,,,wwww,,,,zzzz,,,,iiiieeeerrrrrrrr,,,,rrrrvvvv1111,,,,rrrrvvvv2222,,,,
  24.           1             rv3,rv4,rv5,rv6)
  25.           iiiinnnntttteeeeggggeeeerrrr          nnnnmmmm,,,, nnnn,,,, mmmmmmmm,,,, mmmm,,,, iiiieeeerrrrrrrr
  26.           rrrreeeeaaaallll             eeeeppppssss1111,,,, llllbbbb,,,, uuuubbbb
  27.           rrrreeeeaaaallll             dddd((((nnnn)))),,,, eeee((((nnnn)))),,,, eeee2222((((nnnn)))),,,, wwww((((mmmmmmmm)))),,,, zzzz((((nnnnmmmm,,,, mmmmmmmm))))
  28.           rrrreeeeaaaallll             rrrrvvvv1111((((nnnn)))),,,, rrrrvvvv2222((((nnnn)))),,,, rrrrvvvv3333((((nnnn)))),,,, rrrrvvvv4444((((nnnn)))),,,, rrrrvvvv5555((((nnnn)))),,,, rrrrvvvv6666((((nnnn))))
  29.  
  30.  
  31.  
  32. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.      On Input
  34.  
  35.      NNNNMMMM must be set to the row dimension of two-dimensional array parameters
  36.      as declared in the calling program dimension statement.
  37.  
  38.      NNNN is the order of the matrix.
  39.  
  40.      EEEEPPPPSSSS1111 is an absolute error tolerance for the computed eigenvalues.  It
  41.      should be chosen commensurate with relative perturbations in the matrix
  42.      elements of the order of the relative machine precision.  If the input
  43.      EPS1 is non-positive, it is reset for each submatrix to a default value,
  44.      namely, minus the product of the relative machine precision and the 1-
  45.      norm of the submatrix.
  46.  
  47.      DDDD contains the diagonal elements of the input matrix.
  48.  
  49.      EEEE contains the subdiagonal elements of the input matrix in its last N-1
  50.      positions.  E(1) is arbitrary.
  51.  
  52.      EEEE2222 contains the squares of the corresponding elements of E. E2(1) is
  53.      arbitrary.
  54.  
  55.      LLLLBBBB and UB define the interval to be searched for eigenvalues. If LB is
  56.      not less than UB, no eigenvalues will be found.
  57.  
  58.      MMMMMMMM should be set to an upper bound for the number of eigenvalues in the
  59.      interval.  WARNING. If more than MM eigenvalues are determined to lie in
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ____TTTTSSSSTTTTUUUURRRRMMMM((((3333FFFF))))                                                        ____TTTTSSSSTTTTUUUURRRRMMMM((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      the interval, an error return is made with no values or vectors found.
  75.      On Output
  76.  
  77.      EEEEPPPPSSSS1111 is unaltered unless it has been reset to its (last) default value.
  78.  
  79.      DDDD and E are unaltered. ELEMENTS of E2, corresponding to elements of E
  80.      regarded as negligible, have been replaced by zero causing the matrix to
  81.      split into a direct sum of submatrices.  E2(1) is also set to zero.
  82.  
  83.      MMMM is the number of eigenvalues determined to lie in (LB,UB).
  84.  
  85.      WWWW contains the M eigenvalues in ascending order if the matrix does not
  86.      split.  If the matrix splits, the eigenvalues are in ascending order for
  87.      each submatrix.  If a vector error exit is made, W contains those values
  88.      already found.
  89.  
  90.      ZZZZ contains the associated set of orthonormal eigenvectors. If an error
  91.      exit is made, Z contains those vectors already found.
  92.  
  93.      IIIIEEEERRRRRRRR is set to Zero       for normal return, 3*N+1      if M exceeds MM.
  94.      4*N+R      if the eigenvector corresponding to the R-th
  95.         eigenvalue fails to converge in 5 iterations.
  96.  
  97.      RRRRVVVV1111 , RV2, RV3, RV4, RV5, and RV6 are temporary storage arrays. The ALGOL
  98.      procedure STURMCNT contained in TRISTURM appears in TSTURM in-line.
  99.      Questions and comments should be directed to B. S. Garbow, APPLIED
  100.      MATHEMATICS DIVISION, ARGONNE NATIONAL LABORATORY
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.